<table width="100%" border="0" cellpadding="0" cellspacing="0" background="/images/mainpage-sliced_16.jpg">
  <tr>
    <td width="20" height="40">&nbsp;</td>
    <td class="style5" style="border-right:solid 1px #FFFFFF;">Choose Current Project</td>
  </tr>
</table>
<table width="100%" border="0">
  <tr class="style2" background="/images/mainpage-sliced_11.jpg">
    <td width="22%" align="center" ><strong>Project Name</strong></td>
    <td width="19%" align="center"><strong>Total Milestones</strong></td>
    <td width="15%" align="center"><strong>Total Tasks</strong></td>
    <td width="20%" align="center"><strong> Total Resources</strong></td>
  </tr>
  <?php
  $projectsWithResourceCountTaskCountMilestoneCount = $sf_user->getAttribute('projectsWithResourceCountTaskCountMilestoneCount');
  foreach ($projectsWithResourceCountTaskCountMilestoneCount as $i => $projectDetail): ?>
  <tr class="regulartext_<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
    <td align="center" style="text-decoration:underline"><a href="<?php echo url_for(array('module' => 'project', 'action' => 'show', 'projectname_slug' => $projectDetail['project_name_slug'], 'projectid' => $projectDetail['project_id'], 'loggedinuser' => $sf_user->getUserId()))?>"><?php echo $projectDetail['project_name'] ?></a></td>
    <td align="center"><?php echo $projectDetail['milestone_count'] ?></td>
    <td align="center"><?php echo $projectDetail['task_count'] ?></td>
    <td align="center"><?php echo $projectDetail['resource_count'] ?></td>
  </tr>
  <?php endforeach; ?>  
</table>